package pers.liyan.shi.springcloud.producerticketcore.domain;

import java.util.Date;
/**
 * 电影票
 * @author shily
 * @date 2019/4/21 0:17
 */
public class Ticket {

    private String movieName;
    private Date startTime;
    private String location;

    public Ticket(String movieName, Date startTime, String location) {
        this.movieName = movieName;
        this.startTime = startTime;
        this.location = location;
    }

    @Override
    public String toString() {
        return "Ticket{" +
                "movieName='" + movieName + '\'' +
                ", startTime=" + startTime +
                ", location='" + location + '\'' +
                '}';
    }

    public Ticket() {
    }

    public String getMovieName() {
        return movieName;
    }

    public void setMovieName(String movieName) {
        this.movieName = movieName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
}
